package com.guodi.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @描述：指标分类表
 * @作者: 彭辉
 * @日期: 2020-06-05
 */
@ApiModel(value="指标分类表")
@Data
public class IdtIndicatorsType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "机构id")
    private String orgId;

    @ApiModelProperty(value = "状态（0：禁用，1：启用）")
    private Integer status;

    @ApiModelProperty(value = "配置方式(简单配置、高级配置)")
    private String configType;

    @ApiModelProperty(value = "上级目录")
    private String parentId;

    @ApiModelProperty(value = "行政区划代码")
    private String divisionCode;

    @ApiModelProperty(value = "年份")
    private String year;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人",hidden = true)
    private String creator;

    @ApiModelProperty(value = "创建时间",hidden = true)
    private Date createTime;

    @ApiModelProperty(value = "修改人",hidden = true)
    private String modifier;

    @ApiModelProperty(value = "修改时间",hidden = true)
    private Date modifyTime;

    @ApiModelProperty(value = "子节点", hidden = true)
    @TableField(exist = false)
    private List<IdtIndicatorsType> children;

}
